<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过度与变形</title>
    <style>
        #box1 {
            width: 200px;
            height: 200px;
            background-color: blanchedalmond;
            margin: 0px auto;
            /* 过度属性  过度时间 */
            transition: all 2s;
        }

        #box1:hover {
            width: 200px;
            height: 200px;
            background-color: aqua;
            border-radius: 50%;
        }

        #box2 {
            width: 200px;
            height: 200px;
            background-color: blue;
            float: left;
            /* 向右旋转 */
            transform: rotate(8deg);
        }

        #box3 {
            width: 200px;
            height: 200px;
            background-color: blueviolet;
            float: left;
            transform: rotate(-9deg);

        }

        img {
            transition: all 2s;
            overflow: hidden;

        }

        img:hover {
            /* 放大的效果 */
            transform: scale(4);
        }
    </style>
</head>

<body>
    <!-- 音频 -->
    <audio src="./素材/music/music.mp3" controls="controls"></audio>

    <video src="./素材/media/1.mp4" controls></video>





    <center><img src="./素材/2.gif" alt=""></center>
    <div id="box1">

    </div>
    <div id="box2">

    </div>
    <div id="box3"></div>
</body>

</html>